From: Colin Walters Date: Tue, 25 Oct 2016 17:11:12 +0000 (-0400) Subject: otutil: Note that ot_log_structured takes a printf format X-Git-Tag: archive/raspbian/2022.1-3+rpi1~1^2~4^2~44^2~36 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=21ca60f9875c97a13848bb2298282b006e472b04;p=ostree.git otutil: Note that ot_log_structured takes a printf format This notably fixes compilation with CLang. Closes: #548 Approved by: jlebon --- diff --git a/src/libotutil/ot-log-utils.h b/src/libotutil/ot-log-utils.h index 5e0502ab..8d9786de 100644 --- a/src/libotutil/ot-log-utils.h +++ b/src/libotutil/ot-log-utils.h @@ -26,6 +26,6 @@ G_BEGIN_DECLS void ot_log_structured_print_id_v (const char *message_id, const char *format, - ...); + ...) G_GNUC_PRINTF(2, 3); G_END_DECLS